package com.ruoyi.project.business.punch.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalTime;


@Data
public class PunchOfDayResponse {

    private Long id;
//    private Long userId;
//
//    private Integer month;

    /**
     * 每天打卡的顺序 1， 2， 3， 4
     */
    private Integer punchSort;

    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime clockTimeStart;

    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime clockTimeEnd;

//    private Integer dayOfMonth;
//
//    private Integer dayOfWeek;
}
